<?php
namespace app\common\validate;

use think\Validate;

class Teacher extends Validate
{
    protected $rule = [
        'teacher_name' => ['require'],
        'phone_number' => ['number','require','length'=>11],
        'identity_number' => ['number','require'],
        'email' => ['require','email'],
        'address' => ['require'],
        'entry_time' => ['require','date'],
        'become_regular_time' => ['date']
    ];
}